<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>显示模式之行内元素</title>
  <style>
    span {
      width: 100px;
      height: 100px;
      background-color: hotpink;
    }
  </style>
</head>

<body>
  <!-- span可以随着文字内容变多而变多 -->
  <span>一只猪一只猪一只猪一只猪</span> <strong>一只猪一只猪</strong>
  <span>一只猪一只猪</span> <strong>一只猪一只猪</strong>

  <!-- a标签不能接着嵌套a标签 -->
  <!-- s -->
</body>

</html>